Post

Replies

Boosts

Views

Activity

Reply to Attach process failed when trying to run intents extension via Xcode
FWIW, I got a similar error message under very different circumstances (debugging the Alive2 translation library called from opt in a fork of LLVM on my Mac). Both entitlements are set correctly; a clean build before each run worked around the problem. Merely touching one of the source files, so that the Run button recompiles, also seems to work around it.
Apr ’24
Reply to clang-tidy vs. Xcode Static Analyzer
The relationship is exceedingly remote. clang-tidy is a shallow ‘clang-based C++ linter tool ’, whereas the Clang Static Analyzer, which Xcode uses under the hood, is a fairly deep symbolic execution tool. Xcode integrates the static analyzer in its user interface, though you can also analyze from the command line. If you’re serious about this, see also deep commercial C/++ static analysis tools such as Klocwork and Coverity, which find much more profound bugs, but have a cumbersome web-based user interface. (See “Deploying Static Analysis.”) It is possible to mix the configuration of clang-tidy and static analysis, but I’ve never done this.
Jun ’23